package cn.org.donald.pojo.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import cn.org.donald.framework.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Donald
 * @since 2020-12-27
 */
@ApiModel(value="LogError对象", description="")
public class LogError extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报错信息")
    private String message;

    @ApiModelProperty(value = "报错类信息")
    private String classInfo;

    @ApiModelProperty(value = "报错方法信息")
    private String method;

    @ApiModelProperty(value = "返回状态码")
    private Integer httpStatus;

    @ApiModelProperty(value = "请求路径")
    private String path;

    @ApiModelProperty(value = "提示信息")
    private String tipInfo;


    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getClassInfo() {
        return classInfo;
    }

    public void setClassInfo(String classInfo) {
        this.classInfo = classInfo;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Integer getHttpStatus() {
        return httpStatus;
    }

    public void setHttpStatus(Integer httpStatus) {
        this.httpStatus = httpStatus;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getTipInfo() {
        return tipInfo;
    }

    public void setTipInfo(String tipInfo) {
        this.tipInfo = tipInfo;
    }

    @Override
    public String toString() {
        return "LogError{" +
        "message=" + message +
        ", classInfo=" + classInfo +
        ", httpStatus=" + httpStatus +
        ", path=" + path +
        ", tipInfo=" + tipInfo +
        "}";
    }
}
